package com.xxl.job.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author wenhonghao
 * @email 18167784149@163.com
 * @description: 展示功能首页
 */
@Controller
public class ShowController {
    @GetMapping("/crontab")
    public String showCronJobPage() {
        return "cron-job-management";  // 返回模板的名字，不带后缀
    }

    @GetMapping("/record")
    public String showRecordPage() {
        return "cron-job-record";  // 返回模板的名字，不带后缀
    }
}